Mollie\WooCommerce\Gateway\GatewayModule C

Total Complexity 115
Dependencies 39
Dependents 1
Total lines 595
Lines of code 485
Logical lines of code 379
Comment lines 71
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
services()
B
31 13 126
run()
A
34 12 89
maybeDisableBankTransferGateway()
A
56 13 14
addPhoneWhenRest()
A
54 9 21
switchFields()
A
57 9 15
addPaymentMethodMandatoryFieldsPhoneVerification()
A
55 8 19
instantiatePaymentMethodGateways()
A
43 6 46
disableMollieOnPaymentMethodChange()
S
60 7 12
addBirthdateWhenRest()
S
58 5 14
in3FieldsMandatoryPayForOrder()
S
60 5 12
addPaymentMethodMandatoryFields()
S
56 4 17
addShopOrderMetabox()
S
58 4 14
instantiatePaymentMethods()
S
53 3 21
molliePayPalButtonHandling()
S
62 3 11
mollieApplePayDirectHandling()
S
61 3 11
setOrderPaidByOtherGateway()
S
62 3 10
disableSEPAInCheckout()
S
71 2 6
BillieFieldsMandatory()
S
69 1 6
in3FieldsMandatory()
S
69 1 6
buildPaymentMethod()
S
69 1 6
gatewaySurchargeHandling()
S
81 1 3
isPhoneValid()
S
79 1 3
isBirthValid()
S
80 1 3